Finished writting up all of the thread header template functions