Updated defines to the latest document standard.