The previous callback was restored in the document model