Add jsdoc, remove implementation.