diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,16 @@
 
 `hslua-packaging` uses [PVP Versioning][].
 
+## hslua-packaging-2.2.1
+
+Release pending.
+
+-   Require hslua-core-2.2.1.
+
+-   Require hslua-marshalling-2.2.1.
+
+-   Require hslua-objectorientation-2.2.1.
+
 ## hslua-packaging-2.2.0.1
 
 Released 2022-05-20.
diff --git a/hslua-packaging.cabal b/hslua-packaging.cabal
--- a/hslua-packaging.cabal
+++ b/hslua-packaging.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-packaging
-version:             2.2.0.1
+version:             2.2.1
 synopsis:            Utilities to build Lua modules.
 description:         Utilities to package up Haskell functions and
                      values into a Lua module.
@@ -24,8 +24,8 @@
                    , GHC == 8.6.5
                    , GHC == 8.8.4
                    , GHC == 8.10.3
-                   , GHC == 9.0.1
-                   , GHC == 9.2.1
+                   , GHC == 9.0.2
+                   , GHC == 9.2.3
 
 source-repository head
   type:                git
@@ -35,9 +35,9 @@
 common common-options
   default-language:    Haskell2010
   build-depends:       base                    >= 4.8    && < 5
-                     , hslua-core              >= 2.2    && < 2.3
-                     , hslua-marshalling       >= 2.2    && < 2.3
-                     , hslua-objectorientation >= 2.2    && < 2.3
+                     , hslua-core              >= 2.2.1  && < 2.3
+                     , hslua-marshalling       >= 2.2.1  && < 2.3
+                     , hslua-objectorientation >= 2.2.1  && < 2.3
                      , mtl                     >= 2.2    && < 2.4
                      , text                    >= 1.2    && < 2.1
   ghc-options:         -Wall
diff --git a/src/HsLua/Packaging/Function.hs b/src/HsLua/Packaging/Function.hs
--- a/src/HsLua/Packaging/Function.hs
+++ b/src/HsLua/Packaging/Function.hs
@@ -42,7 +42,6 @@
   , since
     -- * Pushing to Lua
   , pushDocumentedFunction
-  , registerDocumentatedFunction
     -- * Convenience functions
   , parameter
   , opt
@@ -298,14 +297,6 @@
   Lua.pushHaskellFunction $ callFunction fn  -- push function
   pushFunctionDoc fn                         -- function documentation
   registerDocumentation (Lua.nth 2)          -- store documentation
-
--- | Registers a documented Haskell function as a Lua function. The
--- function is made available as a global under its name.
-registerDocumentatedFunction :: LuaError e
-                             => DocumentedFunction e -> LuaE e ()
-registerDocumentatedFunction fn = do
-  pushDocumentedFunction fn
-  setglobal (functionName fn)
 
 --
 -- Convenience functions
