Fixed syntax errors with auto-generated file. Also removed a warning.