Wrote complete documentation.