Add documentation to public functions in ThreadParameters.
Add documentation to public functions in ThreadParameters.