More fixes to DbConnector.