Merge pull request #320 from crutt/AssignOutAndRefParametersLazily

Assign out and ref parameters lazily