Remove extraneous classes in copy_to.
Closes #469