Hash#index is deprecated, long live Hash#key