Call-time pass by reference bad.

@sherakama please review, then go back in time and smack me for writing this code in the first place.