Generalize config