Add capability to set the layers.