Removal of output.py

This PR removes the unused `OutputVisitor`.