Make the ClassFactory proxy support aggregation.