Place some context managers together.
Introduce analysis steps as separate entities.