Adding option for turning off the access check.