Add missing function definition.
Minor language bindings fixes.