`$classname` should be something like `CategoryRepository` or `TagRepository`, currently it's only `Category` or `Tag`