Rewrote documentation a bit