Fixed access to protected property "uri" in URI generator.