Adding docs, examples and tests.