As a step towards implementing real methods in Entity subclasses, we are
moving dynamic method generation over to the EntityWithDynamicMethods Entity
subclass. Dynamic method generation is removed from Entity.
All Entity subclasses now inherit from this as a stopgap -- classes will revert
back to inheriting from Entity once they implement their own real methods. When all
these subclasses use real methods, EntityWithDynamicMethods can be removed.
As a step towards implementing real methods in Entity subclasses, we are moving dynamic method generation over to the EntityWithDynamicMethods Entity subclass. Dynamic method generation is removed from Entity.
All Entity subclasses now inherit from this as a stopgap -- classes will revert back to inheriting from Entity once they implement their own real methods. When all these subclasses use real methods, EntityWithDynamicMethods can be removed.
References: https://github.com/everypolitician/everypolitician-popolo/issues/54