Fixed some sample classes.