Use initial document for getting mmd from url.