`sys` is undefined here.