Add support for var statements and assignments