Added optional types info caching (not necessary)