Make the thread functions a bit easier to use