Clean up reference.