Improve compiler internal documentation