Some null checks...