Change methods to classes.