Fixes #83, add weight to triggers.