Move static initialization out of init method.