Fixing 'used-before-assignment'.