The safe_callable function provided as a "backup" if the one imported from cDocumentTemplate fails is broken. It makes references to a ClassTypes variable that is not initialized. Andreas, can you fix this? - C