Fix doc and enhance dior.