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

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