Changed types to mode_types