This helps to preserve backward compatibility with existing sites, that would have broken documents by the absence of the portal types.