An import of XGraphic in Xmobar, which already uses lots of X11 modules,
doesn't seem a problem to me.  We could define Widget in Parsers (where
i agree that importing XGraphic is weird), which is where Widgets are
created... if you prefer a separate module just for the type, i wouldn't
call it Types, but Widget.