Utils: remove addPromise and callbacksLast