Allow nil opts[:prefs]
Merge pull request #197 from MarkDBlackwell/feature_allow-nil-opts-prefs

Pull request to allow nil opts[:prefs]