Make sure arguments are not null