Updated to initialize stubs in Tcl if they are in use