Added Jonathan Wilkes' patch for improved classinfo, canvasinfo, and pdinfo objects.