Reinstate some customizations that had got lost along the way.
Update tgamma/lgamma docs to reflect new Bernoulli-based implementation.
Regenerate docs.