More work on fixing triggers and rewards.