Custom types for Agent.state, Agent.use_address