Small fixes for XMLRPC implementation