* Added saving and loading for triggers.