Initial implementation for issue #322 - addition of convenience methods for
AssignOutAndRefParametersLazily and corresponding tests.