More namespacing fixes in DB class.