Implemented persistence.