removed reliance on config facade and backwardscompatibility