Now we use a GatewayMap for anonymous classes
Since we accept any object as agent. AgentUtil must have a different interface
Now the GatewayMap allows to set globals