Added update of bean name for non unique names, even if provided in constructor.