Removed dependency on copy module.