Can you add some JSDocs to this?