Adding promise method to async.