Beautified the code.