Multilevel doc

Replacing #179 but without the merge commit.