Fix toSrcType for aliased record extensions
Properly import the Text type by default