I included `val x = ` in these four lines to prevent multiple `"Statements must return Unit"` errors from inclusion in `result.errors`.