Convert Platform to class