Fixed strict standards trying to pass by reference.