a branch is a reference too.

The luaL_checkudata function checks the name of the metatable, therefore
intermediate functions have been created