Verify if Kabach-Mann is ever used for photons. If not, the numberDiscretePhotonLines() function should not even be in the interface.