Some usages of `promise`, and some of `Promise`. Need to pick one to use everywhere.