removed global in TH
removed unused imports
Num does not imply Typeable
Merge pull request #379 from maxpow4h/fix-build

Fixed travis on GHC head