Fix syntax and code style.