Move isPromise to thenable.