Unite layer operation (preparation).
Bug in remove layer operation.
Bug in remove layer (more).
Unite layers.