UPDATE: Docs and test.