Fixing previous commit - should expect a string class name, not instance of a class