Broken stuff cut and pasted from customizations.