Graceful failure if type.prototype is undefind in GetTypeParent.