Minor fixes for the jsdocs and removing unused members.