Fix coding conventions and style.