Allow only int arguments for (flexible-)quality