Removed by ref method call.

A by ref call on a method throws an error under strict settings. This fixes that problem.