Add support for optional response elements. Update rubygems source in Gemfile.