Added the ability to get a list of categories.