Make it easier to include generated files as module?

See also [Pre-RFC] Macros in Attributes