document template registry