Removed AgentContainer, solved it in another way.