Added useful debugging stuff to views