Utilities for refactoring imports in python-like syntax.