Support GlobalEventHandlers.onclick.