Add missing getters for tasks.