Change send_method to class.send(:define_method)