refactor AX event handlers to a delegate interface.