Azhar Ali was full of praise for team-mate Mohammad Hafeez after the opener struck an unbeaten 178 to put Pakistan in control on day one of the third Test against New Zealand.