Changed delimiter before and after the trigger definitions.