Intended because of null check above, otherwise largely the same.