Adding docs and further development.