use merge when inheriting defined_attributes and alias_attributes, and use defined_attributes_keys from super