Use $member on anonymous functions as event handlers.