Use hooked access callback..
Coding standards.
Merge pull request #53 from adam-vessey/7.x-hooked-access

7.x hooked access