Add definitions for es6-promise