Removed redundant nullity checks.