Added ability to specify default access as boolean or function.
5.2.4