Implemented a caching speedup for repeated objectype object lookup