Added more documentation and updated documentation to latest changes.