Added comments to PermissionsObject code.