Protect against nulls.