pep8ize bnw_handlers