Make compiled script object GC friendly.