Pass callback to getOrFetch.