Exposing chb API.
diff --git a/src/njs.h b/src/njs.h
index c541925..d4e3a4b 100644
--- a/src/njs.h
+++ b/src/njs.h
@@ -18,6 +18,10 @@
 #include <njs_types.h>
 #include <njs_clang.h>
 #include <njs_str.h>
+#include <njs_unicode.h>
+#include <njs_utf8.h>
+#include <njs_mp.h>
+#include <njs_chb.h>
 #include <njs_lvlhsh.h>
 #include <njs_sprintf.h>
 
@@ -317,6 +321,7 @@
 
 NJS_EXPORT njs_value_t *njs_vm_retval(njs_vm_t *vm);
 NJS_EXPORT void njs_vm_retval_set(njs_vm_t *vm, const njs_value_t *value);
+NJS_EXPORT njs_mp_t *njs_vm_memory_pool(njs_vm_t *vm);
 
 /*  Gets string value, no copy. */
 NJS_EXPORT void njs_value_string_get(njs_value_t *value, njs_str_t *dst);
diff --git a/src/njs_vm.c b/src/njs_vm.c
index dc315b9..0277ff3 100644
--- a/src/njs_vm.c
+++ b/src/njs_vm.c
@@ -612,6 +612,13 @@
 }
 
 
+njs_mp_t *
+njs_vm_memory_pool(njs_vm_t *vm)
+{
+    return vm->mem_pool;
+}
+
+
 uintptr_t
 njs_vm_meta(njs_vm_t *vm, njs_uint_t index)
 {