GRIM: Instead of using a assignment operator, just steal the data

This avoids potential memory leaks.