Added deep merging of aggregated principals.