Added initial Python wrapper.