Adding promises to GAPI