Changed to new style access control syntax

New style access control syntax is in use to avoid the use of the
compatibility module and avoid deprecated features.