Fixes compiler errors.