Fixed syntax errors in code.