Platform abstraction work.