Add Events API methods.
Add Events API tests.