More implementation for persistence.