Access top-of-event-stack through helper method.

#802