'Remove attribute from expando.
Expando is not like normal entities in that undefined fields
can be removed.
Args:
key: Dynamic property to be deleted.'

def __delattr__(self, key):

    if (self._dynamic_properties and (key in self._dynamic_properties)):
        del self._dynamic_properties[key]
    else:
        object.__delattr__(self, key)
