Fix the definition to match the correct name
Use a query to find the URI

If it is not found, use the actual code
Start adding the document wrapper

We need to support the io feature on the plugin, so we
start creating different features implementation on the
document abstraction