Added support for lp merges