Change DefaultTYPEManager to TYPERepository and update tests.

The indentation has changed here by mistake?