api: make factory args explicit.
client: adding untested Python client utilities.