pass document to include handler block