Documentation and tests.