Could we check the valid and assert it's not nil? That way we get an error message more customized to this location.