diff --git a/dhall-bash.cabal b/dhall-bash.cabal
--- a/dhall-bash.cabal
+++ b/dhall-bash.cabal
@@ -1,5 +1,5 @@
 Name: dhall-bash
-Version: 1.0.30
+Version: 1.0.31
 Cabal-Version: >=1.10
 Build-Type: Simple
 Tested-With: GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
@@ -31,7 +31,7 @@
         base                      >= 4.8.0.0 && < 5   ,
         bytestring                              < 0.11,
         containers                              < 0.7 ,
-        dhall                     >= 1.31.0  && < 1.33,
+        dhall                     >= 1.33.0  && < 1.34,
         neat-interpolation                      < 0.6 ,
         shell-escape                            < 0.3 ,
         text                      >= 0.2     && < 1.3
@@ -49,7 +49,7 @@
         bytestring                            ,
         dhall                                 ,
         dhall-bash                            ,
-        optparse-generic >= 1.1.1    && < 1.4 ,
+        optparse-generic >= 1.1.1    && < 1.5 ,
         text
     GHC-Options: -Wall
     Default-Language: Haskell2010
diff --git a/src/Dhall/Bash.hs b/src/Dhall/Bash.hs
--- a/src/Dhall/Bash.hs
+++ b/src/Dhall/Bash.hs
@@ -321,8 +321,6 @@
     go e@(ListReverse        ) = Left (UnsupportedStatement e)
     go e@(Optional           ) = Left (UnsupportedStatement e)
     go e@(None               ) = Left (UnsupportedStatement e)
-    go e@(OptionalFold       ) = Left (UnsupportedStatement e)
-    go e@(OptionalBuild      ) = Left (UnsupportedStatement e)
     go e@(Record           {}) = Left (UnsupportedStatement e)
     go e@(Union            {}) = Left (UnsupportedStatement e)
     go e@(Combine          {}) = Left (UnsupportedStatement e)
