Improve performance of creating and authenticating events.