Safe pickling is used because, by default, a class or function present in pickle data is imported.