Added option to specify frame of expression of the returned com