Support threads with big hacks