Implement auto-closable interface on Db
Allow manual registration of type adapters