public override object deref() { if (_errors != null) throw new Exception("Agent has errors", (Exception)RT.first(_errors)); return _state; }