replace multiple imports with side effects with a single one to work in python 3.2