Added Unit class.