Revert layers.