chg: dev: pep8 + tidying raw_interface access