Use ?= instead of "if Obj defined"