Adds a trigger to fire a fake event when the class changes