api: pep8 adjusts