The cross platform part of the codebase.