proxy a leveldb reference to swap instances transparently