Updated for VTK5