Some minor preparations for config show/hide/all.