Fix: constructor with same name should be generated only once