Add comments, fix indentation.