Bugfix for "attempt to call global 'deepcopy'"