Fix little things with Promise.