Added import and package names in upickler.