Implement persistent storage as a common plugin feature.