Added predef for Promise.