Update documentation.
Rename StoppingCriteria and move it.