Only do a local import of Platform to avoid circular references