Auto remove trailing whitespaces.