class Hash

Monkeypatch to support both ruby 1.8 and 1.9 (key vs index method)