Add Collection#ensureHashIndex