Widget factory: Do not assume that existingConstructor is either base or undefined.