Add a Platform class.