Collection of minor fixes
* Remove un-needed imports. * Fix deprecation warnings. * Remove redundant constraints.
* Remove un-needed imports. * Fix deprecation warnings. * Remove redundant constraints.
Every compiler after ghc-8.6, automaticallt derives this typeclass for every data type. In ghc-9.14 derived Typeable instances result in warnings.