Moving McChemicalPotential block outside of example.