Event definitions. [skip ci]