Refactor of _doDeferred to _settleDeferred