loading

HMC5883L file error with Arduino 1.0.6

m using the HMC5883L sensor as part of my project but the HMC5883L file leads to an error when im compiling in the new versions of Arduino, 1.0 onwards. Works fine with the Arduino 0022. Ive performed the functionality changes which came about in 1.0 on the codes but the file erroe stills persists.
This the error i receive:

This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Duemilanove w/ ATmega328"
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp: In member function 'void HMC5883L::Write(int, int)':
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp:110: error: 'class TwoWire' has no member named 'send'
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp:111: error: 'class TwoWire' has no member named 'send'
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp: In member function 'uint8_t* HMC5883L::Read(int, int)':
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp:118: error: 'class TwoWire' has no member named 'send'
C:\Program Files\Atlassian\Arduino\libraries\HMC5883L\HMC5883L.cpp:129: error: 'class TwoWire' has no member named 'receive'