Fix section periods and add 'nosectionperiods' option.