Add phocoa detection and document assumptions.