Implement support for event tracking.
Improvements and spelling of API documentation.