Base: Merge layers