Making the DBScan branch compilable again