Make code compatible with rpyc-3.2