Added WorkItem::getPointer() convenience method.