docs: function extend_if_promise(methods, ret) {
  		if(ret && ret.then) {                                 // Check if return value is promise compatible
  			return extend.promise(methods, ret);              // ..and if so, extend it, too.
  		}
  		return ret;                                           // ..and if not, return the same value.
  	}