include document() changes after add test coverage. drop roxygen comments from internal function lsf().