Remove unused class references from config file