Imported changes from Rubinius.
Bumped version to 1.0.1.