Expose some constants so the cancel event can be done by the app calling the library.