Change the return type of the methods in interface PersistentMapFactory.