Another instance of define_singleton_method