Ref in AbstractPersistence