Fixed some deep problems with auto-boxing and graph caching to ensure that when a type is requested, it's delivered.