These types are used in Parsers and Xmobar modules. Does it really make sense to import XGraphic for them? I'd be surprised by such import, but your mileage may vary, of course.