Added bindings to document, and other small fixes.