Added some helper methods to the category.