Make neither URI.type_ or URI.value required.

Also make the URI object look a bit more like the others.

Fixes #11.