In order for @properties to work appropriately The category must be a subclass of item. when The category will not be a subclass of item then The 1st time you try access the setter it really can make a fresh attribute Using the shorter name as an alternative to accessing https://justpaste.it/igonb