Tighten up how deferred.[[Resolve]] etc. are called.

Fixes #32.