Add const to make API safer.