Removes un-needed config.