document triggers and all_triggers methods