Complete the docs, added examples