Add comments and PEP8 indentation.