Updated documentation completely.