Pātuhitia tēnei: Algebraic groups and class fields