Heavily modified ViewProcessor class