Modified to Portable Class Library.