Refactor persister to handle multiple storage engines.

No match.