Changed architecture to allow prefetching values.