Added deep merge