Merge the two scopes into one.