Makes sure dependencies are resolved when we instantiate a Task.

We could resolve the dependencies when mapping a Task dependency to an
action, but doing it as soon as we instantiate gives us early errors.
Early errors are **good** :3