"A remedy [for masturbation] which is almost always successful in small boys is circumcision, especially when there is any degree of phimosis. The operation should be performed by a surgeon without administering an anæsthetic, as the brief pain attending the operation will have a salutary effect upon the mind, especially if it be connected with the idea of punishment, as it may well be in some cases. The soreness which continues for several weeks interrupts the practice, and if it had not previously become too firmly fixed, it may be forgotten and not resumed."
~ Dr John Harvey Kellogg, Plain facts for old and young: embracing the natural history and hygiene of organic life, 1877
From wikipedia;Dr. John Harvey Kellogg (February 26, 1852 - December 14, 1943) was an American medical doctor in Battle Creek, Michigan who ran a sanitarium using holistic methods, with a particular focus on nutrition, enemas and exercise. Kellogg was an advocate of vegetarianism, and is best known for the invention of the corn flake breakfast cereal with his brother.
Think the irony..holistic methods, vegetarianism....and painful circumcisions for boys...