Add DSN getter method