Methods moved from AbstractRpcCommand to AbstractCommand