Wrapper tools for the persistence code.