Removed more flag permissions stuff.