DocConv should be freed in the end ideally