Static constructors are now called for all modules correctly