Refactored category template code