Change indent for class snippet.
Remove unneeded white spaces on write.