diff --git a/GHCJS/Foreign/Internal.hs b/GHCJS/Foreign/Internal.hs
--- a/GHCJS/Foreign/Internal.hs
+++ b/GHCJS/Foreign/Internal.hs
@@ -93,7 +93,6 @@
 import           Foreign.ForeignPtr.Safe
 import           Foreign.Ptr
 
-import           Data.Primitive.Addr (Addr(..))
 import           Data.Primitive.ByteArray
 import           Data.Typeable (Typeable)
 
diff --git a/JavaScript/Web/XMLHttpRequest.hs b/JavaScript/Web/XMLHttpRequest.hs
--- a/JavaScript/Web/XMLHttpRequest.hs
+++ b/JavaScript/Web/XMLHttpRequest.hs
@@ -52,8 +52,8 @@
 
 import JavaScript.Web.File
 
-data Method = GET | POST | PUT | DELETE
-  deriving (Show, Eq, Ord, Enum)
+data Method = GET | POST | PUT | DELETE | Method JSString
+  deriving (Show, Eq, Ord)
 
 data XHRError = XHRError String
               | XHRAborted
@@ -66,6 +66,7 @@
 methodJSString POST   = "POST"
 methodJSString PUT    = "PUT"
 methodJSString DELETE = "DELETE"
+methodJSString (Method m) = m
 
 type Header = (JSString, JSString)
 
diff --git a/ghcjs-base.cabal b/ghcjs-base.cabal
--- a/ghcjs-base.cabal
+++ b/ghcjs-base.cabal
@@ -1,5 +1,6 @@
+cabal-version:       3.0
 name:                ghcjs-base
-version:             0.2.0.0
+version:             0.2.0.1
 synopsis:            base library for GHCJS
 homepage:            http://github.com/ghcjs/ghcjs-base
 license:             MIT
@@ -8,8 +9,11 @@
 maintainer:          stegeman@gmail.com
 category:            Web
 build-type:          Simple
-cabal-version:       >=1.8
 
+source-repository head
+  type:     git
+  location: https://github.com/ghcjs/ghcjs-base
+
 library
   js-sources:      jsbits/array.js
                    jsbits/animationFrame.js
@@ -133,14 +137,15 @@
                    scientific           >= 0.3  && < 0.4,
                    vector               >= 0.10 && < 0.13,
                    containers           >= 0.5  && < 0.7,
-                   time                 >= 1.5  && < 1.9,
-                   hashable             >= 1.2  && < 1.3,
+                   time                 >= 1.5  && < 1.10,
+                   hashable             >= 1.2  && < 1.4,
                    unordered-containers >= 0.2  && < 0.3,
                    attoparsec           >= 0.11 && < 0.14,
                    transformers         >= 0.3  && < 0.6,
-                   primitive            >= 0.5  && < 0.7,
+                   primitive            >= 0.5  && < 0.8,
                    deepseq              >= 1.3  && < 1.5,
                    dlist                >= 0.7  && < 0.9
+  default-language: Haskell2010
 
 test-suite tests
   type:           exitcode-stdio-1.0
@@ -173,3 +178,4 @@
     test-framework >= 0.4,
     test-framework-hunit >= 0.2,
     test-framework-quickcheck2 >= 0.2
+  default-language: Haskell2010
