Added observer functionality to an entity