Add const qualifier to display functions.