First arg of resolve method should be optional.

This is because you may want to resolve a deferred without passing anything.

The change made in commit 99fa7392 breaks this ability.