Constify a few methods.