Take out unused gSP functions