Minor updates that affect rspec and rake. Added a #to_hash alias for #to_h