Rename deprecatedViewEvents to deprecateViewEvents