Use pointers instead of doing a deep copy.