memorize the module and class name during pickleing