Don't assign new by reference
Merge pull request #2 from humanmade/deprecated_warning

Don't assign new by reference