Need to add a `decode` function to layer groups; this should iterate all child layers and add a pointer to them back to the group layer.
Need to add a
decodefunction to layer groups; this should iterate all child layers and add a pointer to them back to the group layer.