no longer override define_singleton_method, fixes #567