Convert another bit of nuts.rb I missed earlier.