Pass-by-reference is not recommended for objects (#639)