New code and new module with tests for the docs.