Exposed the categories to the API side.