Fixed typo.
Better error handling.
Some performance improvements on copy. Still need to remove GORM
completely.