Actually that might not be quite right. Because I'm not sure what `addedLayer.get('layer')` means in that case.