Adding Exception and Platform classes