Looser coupling of methods and new JSDoc generated documentation