Fix error in viz config. Started cleaning code not used in Loader.