Removing plateform specific code.