Solved a problem with the classes.