Remove debug statements and hanlde VTKv6 changes.