Added support for assigning function result to variable.