Fix bug 883492 - Do not pass objects by reference