task._ref throws an error when the typed task doesn't exist.