Implementing persistence.