Add a class for detecting what plugin cancelled what event