Change DefaultTYPEManager to TYPERepository and update tests.

Unrenamed class.