Fix category to be instance of Element::Category