documentation for events and renamed event namespace