Is this necessary because the interface you defined elsewhere isn't compiled into the T4 and generates a compile error during transformation?
That sounds like it's worth additional investment to avoid that requirement, but we can save that for another commit. In the meantime, can we sidestep the issue by arbitrarily picking some interface that is defined in the framework already?