Added GetTask() to middleman.Middleman.