Fixed section index titles.
Added support for multiple, unnested contexts.