jquery Plugin using namespace instead of $.fn.extend
<p>Hey I am looking to change my a plugin that I created to use the document namespace. I have been researching this but I am lost on how to do it. </p>

<p>Here is the start of the plugin code:</p>

<pre><code>(function ($) {
        $.fn.extend({
                BGP: function (options) {
</code></pre>

<p>Currently the call to the plugin uses:</p>

<pre><code>$(document).BGP({ /*options*/});
</code></pre>

<p>I want it to be more like: </p>

<pre><code>$.BGP({ /*options*/});
</code></pre>

<p>Any help and explanation would be GREAT!</p>
