Refactors Category methods.