Added a way of viewing class objects