Work correctly with sections (see lcontext).