Update events, add them to the new 'api' package.