Preparations for platform abstraction.