Cleanup related to the call-by-reference.