Made triggerRoute private for routed events and added comments and formatting