Needed to be able to run all combinations of inlined widgets: with or without SPARK, and with or without main.