Change send_method to class.send(:define_method)

`self.send_method(:initialize)` does not work, it needs to be `self.class.send(:define_method, :initialize)`.