Implemented multiple assignations and some scope var checking.