Added automatic generation of proxy ids.