Added JSDocs.