[NUCCORE-1158] Change TypeManager to be interface, and have
TypeManagerImpl as the implementation