Fixing compile errors.