Add support for categories.