'Add the appropriate methods to *element_cls*.'

def populate_class_members(self, element_cls, prop_name):

    self._element_cls = element_cls
    self._prop_name = prop_name
    self._add_attr_property()
