OK I'll change that. Still this is suboptimal, ideally I'd like access to the GenericAgentConfig type that keeps that value already parsed.