Fix for multiple classes.