def add_new_method(self, name):

    def handler(class_attributes, **kwargs):
        class_attributes[name] = identity
    return handler
def add_new_method(self, name):

    def handler(class_attributes, **kwargs):
        class_attributes[name] = identity
    return handler