[Fix] Objects are getting passed instead of just copied.