If we were to ignore ruby 1.8, this could be much better written using `#define_singleton_method`, can you add a comment here to that effect? Alternatively, we could backport that feature...