Small changes to the ruby library.