Fixed incorrectly given classes.