added 'task' and 'tasks' methods as synonyms of 'createPromise'