Remove class name from config after it is used so it doesn't find its way into configure()