python: Remove **kwargs, update tests and docs.