Add Task::get/set_regs() helpers and remove old interface.