Added SetParity (still missing windows implementation)