Tray-out code for the xml-rpc interface