Make some references const.