Completed native module support for thread isolates.