Simple event handling for om components.