Mark some methods as "const" (because they are).