Add the `uri` method to _db.
Update docs, add fragment tests.
Allow the engine to be changed.