First attempt at implementing onClick support.