Avoid circular imports in pandoc proper.