Update TODO and start separating platform-specific code.