Added list method to typeCache. It returns all of the types.