A template to handle triggers in Apex classes.