Fix -Wall warnings on Extension.hs.