class PersistentMap implements Map<K, V> {

    @Override
    public V remove(Object key) {
        checkNotNull(key, "Key can not be null.");
        V removed = get(key);
        items.remove(serializer.encode(key));
        return removed;
    }

    public  PersistentMap(Serializer serializer, DB database, String name);

}