prepare for gwt rpc