Unnecessary by reference parameters in event trigger