BUGFIX public_instance_methods returns strings on Ruby 1.8