Change to allow the class to be passed as a reference or string.
Change to allow the class to be passed as a reference or string.

Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,danstaines/ensembl-compara,danstaines/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,danstaines/ensembl-compara,danstaines/ensembl-compara,Ensembl/ensembl-compara,danstaines/ensembl-compara