SW-828: class variable instantation and checkig for None, so we can handle any exception during setup phase.