Fixed merging of configuration in constructor