Started writing some documentation.