Changes to be compatible with ParaView 4.0.