pass options to get_classes

fixes a small bug where the wrong data
was being passed to the get_classes method.