Add import for platform API