Change to use self.__class__ in place of EasyDict for easier subclassing