[Backend] Improved var-names and did some cleanup.