add document factories