Added auto-chaptering feature.