Add default actions for each of these events in the constructor so you dont have to check for null below