Fixed silly error reporting when trying to create an object of a non-found typeclass.