Rename Platform class to P