Pātuhitia tēnei: From Black codes to recodification