Adding sync mode for promises.
Adding sync mode for chains.