Support extra restrictions passed in by user