Remove unnecessary dots.