Update for 0.6.5.

Hi Chris. A quick mod to make this 0.6.5 ready.