Implemented a more flexible access checker