Fix event handlers with no arguments