diff --git a/fay-jquery.cabal b/fay-jquery.cabal
--- a/fay-jquery.cabal
+++ b/fay-jquery.cabal
@@ -1,5 +1,5 @@
 name:                fay-jquery
-version:             0.4.0.0
+version:             0.4.0.1
 synopsis:            jQuery bindings for Fay.
 description:         jQuery bindings for Fay.
 homepage:            https://github.com/faylang/fay-jquery
@@ -22,5 +22,5 @@
 library
   hs-source-dirs: src
   exposed-modules: JQuery
-  build-depends: fay-base >= 0.17
-               , fay-text >= 0.1
+  build-depends: fay-base >= 0.18
+               , fay-text >= 0.2
diff --git a/src/JQuery.hs b/src/JQuery.hs
--- a/src/JQuery.hs
+++ b/src/JQuery.hs
@@ -389,10 +389,10 @@
 data Speed = Instantly | Slow | Fast | Speed Double
 
 data Animation = Animation
-  { _type :: AnimationType
-  , _speed :: Speed
+  { _type          :: AnimationType
+  , _speed         :: Speed
   , _nextAnimation :: Maybe Animation
-  , _element :: JQuery
+  , _element       :: JQuery
   }
 
 anim :: AnimationType -> JQuery -> Animation
@@ -700,10 +700,11 @@
 data CloneType = WithoutDataAndEvents | WithDataAndEvents | DeepWithDataAndEvents
 
 clone :: CloneType -> JQuery -> Fay JQuery
-clone WithoutDataAndEvents  = ffi "%2['clone'](false)"
-clone WithDataAndEvents     = ffi "%2['clone'](true, false)"
-clone DeepWithDataAndEvents = ffi "%2['clone'](true, true)"
+clone WithoutDataAndEvents  = ffi "%1['clone'](false)"       :: JQuery -> Fay JQuery
+clone WithDataAndEvents     = ffi "%1['clone'](true, false)" :: JQuery -> Fay JQuery
+clone DeepWithDataAndEvents = ffi "%1['clone'](true, true)"  :: JQuery -> Fay JQuery
 
+
 detach :: JQuery -> Fay JQuery
 detach = ffi "%1['detach']()"
 
@@ -1060,12 +1061,3 @@
 
 -- vim implementation shortcut
 -- inoremap <F6> <ESC>:normal 0ywo<ESC>pa= ffi ""<ESC>F"i
-
-
-
-----
----- Utilities
-----
-
-fromInteger :: Integer -> Double
-fromInteger = ffi "%1"
