Add Platform class.