Fixed incorrectly-named $opts parameter in four functions.
Merge pull request #16 from robinbullocks4rb/master

Fixed incorrectly-named $opts parameter in four functions.