define_singleton_method can be called on object