Factor out UnsafeReflectValue into a separate package.