enable DeriveDataTypeable on older GHCs. Remove unused pragmas