Fixing compilation errors.