Fix undefined method error.
Merge pull request #4 from colinmollenhour/hotfix

Fix undefined method error.