[frontend] Fix failing class_group specs