Since of version 2.11 TypeTags are thread safe 

This PR also contains latent code stiling improvements.