Removing trailing periods.