API: Deprecate static methods in favour of Config API.