Slightly more careful checking

Not sure what the root cause of this was.. but I had some none-class things in my _decl_class_registry.