Updated minor syntax errors