Docs: Fix some faulty object parameters.
Update JSDoc.