Handling optionals created with nulls.