Using static constructors to initialize static variables