Indent using spaces.
Remove redundant function.