Increase speed for search methods. Add missed jsdocs