Some small improvements to the Xmlrpc class