Fix UnbindTypeError.