Added support for method arguments to be passed by-reference