Trim TH exports, improve doc structure