Ruby 2.0 fix for respond_to? previous support