[PATCH 3/3] Small pep8 clean up on the API code