Ran auto-formatter and fixed IntelliJ warnings.