Changed DefaultConnection enum to class.