Convert to class.