Remove obsolete code from config scripts.