#define_method is private and must be invoked with #send.