I'm honestly not sure why we used Trick instead of PatternMatchingEventHandler, but this seems to be the correct class to use - any idea, @daboross?