Constify a few methods.

Things that were already const, but didn't know it. :smiley: