[refactoring] Remove a promise level