Add support for applyConfig