instance = new MethodWrapper((Method) instance);
}
// Look for documentation.
String doc = "";
Doc docAnnotation = (Doc) innerClass.getAnnotation(Doc.class);
if (docAnnotation != null) {
doc = docAnnotation.value();
}
Callable callable = new IntrinsicCallable(pattern, doc, (Intrinsic) instance, scope);
// Register it.