Replaced use of merge with assign. Stable.