Merge "Move _thread_created_hook to where it belongs."