Clarify promisification helper function