How does remove behave if the layer to be removed does not exist?