use #indexes method to retrieve collection of indexes for klass