Added a very primitive Python wrapper.