After some more thought, I think this is wrong.  Barn users can explicitly set the class to instantiate.  I'll revert.