Add variable definition for Promise doc. #1651