Attribute inheritance working