Remove all 'where T : class, new()' constraints where possible and remove any legacy/unused classes along the way.