Added a parameter to LazySettings in order to allow switching the wrapped Settings class.