Changed error message to remove stringified class since it's ugly