Table to class.