Updated to new PermissionModule