Refactorings for configuration