Persistent devices can now be pickled. Mediators must
implemente saveState and restoreState in order for this
to occur.