Removal of obsolete PHOS code