CategoryTemplate extension