pub type DocumentParser<P> = Box<dyn Fn(Box<dyn Read + Sync + Send>) -> Result<P> + Send + Sync + 'static>;