The fact that this should be called explicitly in some cases should be added to the function's JSDoc header.