Added definitions for Nokogiri.

This fixes #102.