Compound doc insert

A bit ugly this extend is my young padawan :)