Corrections to utils.py to comply with PEP8.