Removed unused code, and cleaned the code of the XML-RPC client.