Pulling out the mapped event into a variable

This way, the return type of Map is visible, and you can hover over the
type in VS to see the description of Event.