Added event mapping.