Change key type to ByteString.