BUG Return the promise instead of the whole deferred object.
Merge pull request #3352 from mateusz/anchor-defer

BUG Return the promise instead of the whole deferred object.