Detect platform and implement (bye).