For some reason, my _decl_class_registry has a few none-Base things.
Merge pull request #16 from ralphbean/master

Slightly more careful checking