Documentation and updates to tutorial.