Remove unnecessary const refs