Prefixes events; adds objects for class/event strings.