Factor out NewInstance and NewBaseInstance.
Factor out NewInstance and NewBaseInstance.

bz2/juju,reedobrien/juju,kat-co/juju,bz2/juju,gabriel-samfira/juju,fwereade/juju,cloud-green/juju,dimitern/juju,davecheney/juju,dimitern/juju,marcmolla/juju,dooferlad/juju,frankban/juju-tmp,sinzui/juju,tsakas/juju,bac/juju,mjs/juju,frankban/juju,davecheney/juju,howbazaar/juju,sinzui/juju,frankban/juju-tmp,mikemccracken/juju,frankban/juju,bz2/juju,mikemccracken/juju,cherylj/juju,perrito666/juju,frankban/juju,tsakas/juju,mhilton/juju-juju,perrito666/juju,mhilton/juju-juju,mjs/juju,marcmolla/juju,voidspace/juju,wwitzel3/juju,makyo/juju,tasdomas/juju,Altoros/juju-cloudsigma,waigani/juju,tych0/juju,axw/juju,kat-co/juju,anastasiamac/juju,tasdomas/juju,howbazaar/juju,mikemccracken/juju,reedobrien/juju,reedobrien/juju,bogdanteleaga/juju,howbazaar/juju,axw/juju,alesstimec/juju,AdamIsrael/juju,alesstimec/juju,anastasiamac/juju,kat-co/juju,cherylj/juju,Altoros/juju-cloudsigma,axw/juju,ericsnowcurrently/juju,gabriel-samfira/juju,tych0/juju,mhilton/juju,reedobrien/juju,reedobrien/juju,thomnico/juju,marcmolla/juju,bogdanteleaga/juju,frankban/juju,waigani/juju,frankban/juju-tmp,anastasiamac/juju,frankban/juju-tmp,dooferlad/juju,voidspace/juju,macgreagoir/juju,gabriel-samfira/juju,voidspace/juju,dimitern/juju,dimitern/juju,bac/juju,mikemccracken/juju,dooferlad/juju,tych0/juju,Altoros/juju-cloudsigma,makyo/juju,perrito666/juju,sinzui/juju,mjs/juju,howbazaar/juju,voidspace/juju,thomnico/juju,AdamIsrael/juju,makyo/juju,tasdomas/juju,mjs/juju,thomnico/juju,AdamIsrael/juju,macgreagoir/juju,mjs/juju,ericsnowcurrently/juju,bac/juju,tsakas/juju,dooferlad/juju,cloud-green/juju,alesstimec/juju,gabriel-samfira/juju,dooferlad/juju,ericsnowcurrently/juju,mikemccracken/juju,kat-co/juju,frankban/juju,fwereade/juju,mhilton/juju-juju,gabriel-samfira/juju,perrito666/juju,bz2/juju,tych0/juju,sinzui/juju,tsakas/juju,wwitzel3/juju,ericsnowcurrently/juju,cloud-green/juju,bogdanteleaga/juju,waigani/juju,mjs/juju,alesstimec/juju,davecheney/juju,thomnico/juju,kat-co/juju,mhilton/juju,dimitern/juju,howbazaar/juju,cherylj/juju,perrito666/juju,macgreagoir/juju,cherylj/juju,ericsnowcurrently/juju,fwereade/juju,mjs/juju,cloud-green/juju,fwereade/juju,mhilton/juju,davecheney/juju,marcmolla/juju,mhilton/juju-juju,waigani/juju,bac/juju,bogdanteleaga/juju,makyo/juju,tasdomas/juju,anastasiamac/juju,mhilton/juju,anastasiamac/juju,AdamIsrael/juju,bz2/juju,marcmolla/juju,alesstimec/juju,axw/juju,wwitzel3/juju,wwitzel3/juju,Altoros/juju-cloudsigma,macgreagoir/juju,bac/juju,axw/juju,macgreagoir/juju