Decorate thread entry points in headers