Plan/DB: Added memento store function.