Begin refactoring instances.py
5 files changed