Fix indentation, added some comments.