Fix Hack syntax errors.