Remove support of string events.
Cleanups, code style fixes.