Remove unnecessary const refs.