More define checks to prevene unitialized var errors.