There is no `deprecateStartEvent` I suspect you've meant `deprecateEvents`

P.S.: Applies to a next two lines too..