Remove some layers.