Constified some variables.