Add basic Python bindings.