Why do event handlers often appear outside the