Returned promise instead of calling callback.