Added docstrings for write_parameters and write_parameter_ranges