Add layergroup support.