Improve conversion of periods.