Added documentation
Added a force keyword to set_key_value_pair so a value can be cleared to an empty string.