Minor changes for testing promise bug.