Convert ItemRegistry to use Reflection.