Need to be careful when dealing with references.