Added whitespace cleanup before save.