copious null checks.