Defines events that can be fired when specific conditions occur.