Fix typo and make const.