Added core union-type aggregation functionality to ncml module.