Turns out cfg.apply() works like set. #7