Fix nil check omission.
Don't use dot import form.