Why remove the null pointer checks here?