Wrote some rudimentary documentation.