Reduce duplicated layouts