Add rudimentary TH-support.