Fixed mutable errors in all classes.