Add key extension for HashContainer