Added definition of Promise.