As outlined by this principle, the attributes of a category are created non-public to cover and defend them from other code. This is apparently much like this difficulty: Wrong "Property will not exist on sort 'hardly ever'" when changing price within callback with strictNullChecks, which happens to be shut as https://herohomesrealty.in/