Rename flags to categories