Started adding support for platform checking.