Macroize event handler getters and setters.