Handle the case of using 'as var' better.