Handlers for merging layers from config