To ensure that @properties to operate appropriately the class needs to be a subclass of item. when The category is not a subclass of item then The 1st time you are attempting entry the setter it in fact can make a fresh attribute While using the shorter identify in place https://justpaste.it/igonb