Changed to reference in order to support overloading.