Fix document creation type parameter being ignored
Update MDLDocument to use an array of URLs