Removed ViewQueryResponse.
Optimized version in place. Needs some refactoring though.