Clean up pipeline.py imports.