#1248: Fix typehints in the Configuration
#1248: RunCommand crashes on execution

This commit fixes a number of fatal issues where the recent refactoring
had broken the execution of the project.