Same as above. Add `Preconditions.checkNotNull` checks to the mandatory fields.