Fixed null pointer setting macros.