Removed OS-specific code.