Pass parameters by reference. Refs #9026.