Modernizing the TH example.