Added some code documentation for the set_client_attribute function