Fix syntax errors causing compilation failures.