Format URI

It gets the format from the URI now.