Re-introduced database connection manager.