Repository API extended: the creation of categories