Wrapped this block with a null check.