Added support for the syncPromise() layer