Tweaked JSDoc return types