Added the ability to specify a number when multiple classes are found.