Added clear method to remove triggers.