Changed a copy to a reference.