Added TypeRepository.