Updated JSDocs and examples.