Remove bits that we don't need