Improve Decision, Activity Task models and pollers
Fix tests