removed Class<?> argument in getIndexBlocks method