Add a static.
Refactor exec() to work with mockup projects in testing.