Replace tabs with spaces before methods