Documenting part 4 of the tutorial.