Implement Hash#key, Hash#index