Make categories a property of Repository()