Fix comments and add support for project events.