Fix type, indentation, and so on.