CTTE: Thread references through markup.h