Remove legacy usage of $vars['config']