This should probably be a const & too.