Cleaned up DuratedComplexBeam format code.