Fix import of type classes.

Importing type classes is currently broken, and imports are generated as `import Data.Traversable (class)`.
This patch fixes that.

Cheers