remove unused pathForTypes