Update to make "changed" attribute only present on the parent class

Changed attribute will now only be created on the parent class in case inheritance was used.