Support custom categories and put them into USER_DEFINED