Fork from google code switchysharp