Improve documentation and exports in TH modules