Switch to using a config struct for loading visuals.