Add null check methods.