This is not how PersistenceService is meant to be used. Instead, import PersistenceService and then call its static methods.