Inherit attributes from superclass is working, but overwritten when defining a custom attribute for the child class