Remove unnessecary SPS & PPS writing code