Having it as optional allows for a better error message when it is omitted.