Added documentation to FlagPermissions.