Updated implementation to merge method and lifted attribute sets.