This should probably be made const.