Restructured method/function comments to fit the JSDOC format