Clean up JSDoc and add callback for delAll