Removed compilation errors and syntax errors.