Code cleanup. Fixed JSDocs, removed unused module reference, and fixed a spelling error.