Instead of "XFoo" it is probably more accurate to call this elementConstructor, generatedConstructor or something like that.