Refactored some of the documentation.