Remove code to aviod repetitive merging