Syncing with core: Drop TMUnit

Probably it is not necessary to remove most of the other code, and
maybe even some of it is left behind, but since we just want to
sync our models with core it is not so important.