WIP - Implement query printing visitors