Why does this return `deferred`?  It's never used except in the test that asserts that it returns the same deferred that it was passed in.