Working on event-related commands.