} catch (InstantiationException e) {
options$.failure(x, e, "spawn:instanceexception:2", "Cannot instantiate.");
} catch (IllegalAccessException e) {
options$.failure(x, e, "spawn:illegalaccess:2", "Unable to access type (2).");
} catch (InvocationTargetException e) {
options$.failure(x, e, "spawn:invocation", "Unable to invoke target.");
}
// TODO Make sure to only use weak references, so that we don't run out of memory
// and prevent
// garbage colleciton.