Adding a persistance delegate