Sorry, TSetting is a mere copy issue as I copied these 2 lines from actual project code. It should just be T, as in method signature. My bad.