There are also a few cases where the code needs to be tweaked so it works correctly on Mono and the platforms it runs on.