Passing const reference instead of copying.