Convert tabs to spaces and use consistent style.