add visit method for KVPersistance