Kapil's version of Scope and Joint merge.