Adding categories functionalities.