Some arguments are better off as references.

Hi,

This trivial patch turns some method parameters to references, which makes sense in particular for "complex" ones. Thanks to consider merging.

Cheers,
  Simon