It looks like this is done further down, but it's probably worth validating at this point as well.