Explicit control on AgentRestService instantation