Implement PrimedTNT. Merges #96