Remove null check for primitives.