Config class encapsulation.