Patch the catgory parser in Model\Template