Fix "Redefinition of Promise" warnings.