Null checks are added.