Handle recursive contexts.