The method may return (None, None).
(None, None)
Besides this, which I think should be fixed, I have finished to clean up.
I didn't run the demo or tests.
mentioned in merge request !46 (merged)