Update documentation to reflect refactoring.