Generic methods for pickling and unpickling the subclassed objects are implemented in .MarvinToolsClass.save and .MarvinToolsClass.restore. While these work in most cases, depending on the specifics of the subclass some additional handling may be necessary.